#include "Containers/RangePair.h"

void RangePair::Set(const YAML::Node& input)
{
  if(!input || input.size() != 2) return;
  x1 = input[0].as<double>();
  x2 = input[1].as<double>();
}